package com.ruoyi.system.domain.vo;

import com.mybatisflex.core.paginate.Page;
import lombok.Data;

@Data
public class BasePageParam<T> {
    private Integer pageNum = 1;
    private Integer pageSize = 10;

    public Page<T> toPage(){
        return Page.of(pageNum, pageSize);
    }
}

